package at.codebase.core.search;

import at.codebase.core.StringTools;

/**
 * @author Daniel Marth <danielmarth@gmx.at>
 */
public class SearchTerm {

	private final String term;

	public SearchTerm(final String term) {
		this.term = term;
	}

	public String getTerm() {
		return term;
	}

	public boolean isQuoted() {
		return term.startsWith(StringTools.DefaultQueyQuote);
	}

}
